import Global from "./global";

const {ccclass, property} = cc._decorator;

@ccclass
export default class AudioButton extends cc.Component {

    onLoad(){
        this.node.on(cc.Node.EventType.TOUCH_START,this.click,this);
    }

    click(){
        Global.music_ts.playEffect("Audio_button");
    }
}
